package com.gengzp.common.model.user.req;

import com.gengzp.common.document.annotations.ApiModel;
import com.gengzp.common.document.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @ClassName LoginUserReq
 * @Description 用户登录请求实体
 * @Author gengzp
 * @Date 2025/5/11 18:14
 */
@Data
@ApiModel(description = "用户登录请求实体")
public class LoginUserReq implements Serializable {

    @Serial
    private static final long serialVersionUID = 3925413530608998803L;

    @NotBlank(message = "用户账号不能为空")
    @ApiModelProperty(value = "用户账号", required = true)
    private String userAccount;

    @NotBlank(message = "用户密码不能为空")
    @ApiModelProperty(value = "用户密码", required = true)
    private String userPassword;

    @NotBlank(message = "用户客户端类型不能为空")
    @ApiModelProperty(value = "当前客户端类型", required = true)
    private String clientType;

}
